<?php
/**
 * Created by PhpStorm.
 * User: liu
 * Date: 2018/9/25
 * Time: 0:45
 */
include "Commodity.php";
$phone =new Cellphone();
$phone->name="P20";
$phone->place="嘉興";
$phone->price="3000";
$phone->number=20000;
$phone->brand="華爲";
$phone->Selfintroduction();
echo "<br>";
$book=new Book();
$book->name="權力的游戲";
$book->press="指揮家園";
$book->price=200;
$book->number=20000;
$book->writer="柳畏華";
$book->Selfintroduction();